package org.jeecg.modules.mr.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import org.jeecg.common.aspect.annotation.Dict;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;

/**
 * @Description: 审核记录
 * @Author: jeecg-boot
 * @Date:   2022-02-11
 * @Version: V1.0
 */
@Data
@TableName("mws_t_mr_audits")
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="mws_t_mr_audits对象", description="审核记录")
public class MrAudits implements Serializable {
    private static final long serialVersionUID = 1L;

	/**id*/
	@TableId(type = IdType.ASSIGN_ID)
    @ApiModelProperty(value = "id")
    private java.lang.String id;
	/**户号*/
//	@Excel(name = "户号", width = 15, dictTable = "mws_t_arc_customers", dicText = "code", dicCode = "id")
//	@Dict(dictTable = "mws_t_arc_customers", dicText = "code", dicCode = "code")
    @ApiModelProperty(value = "户号")
    private java.lang.String customerId;
	/**户名*/
	@Excel(name = "户名", width = 15)
    @ApiModelProperty(value = "户名")
    private java.lang.String cusName;
	/**抄表记录*/
	@Excel(name = "抄表记录", width = 15)
    @ApiModelProperty(value = "抄表记录")
    private java.lang.String recordId;
//    /**月份*/
//    @Excel(name = "月份", width = 15)
//    @ApiModelProperty(value = "月份")
//    private java.lang.String readMonth;

	/**起度*/
	@Excel(name = "起度", width = 15)
    @ApiModelProperty(value = "起度")
    private java.math.BigDecimal beginScale;
	/**止度*/
	@Excel(name = "止度", width = 15)
    @ApiModelProperty(value = "止度")
    private java.math.BigDecimal endScale;
	/**用量*/
	@Excel(name = "用量", width = 15)
    @ApiModelProperty(value = "用量")
    private java.math.BigDecimal amount;
	/**水表状态*/
	@Excel(name = "水表状态", width = 15, dicCode = "water_used_type")
	@Dict(dicCode = "water_used_type")
    @ApiModelProperty(value = "水表状态")
    private java.lang.String waterUsedType;
	/**是否通过*/
	@Excel(name = "是否通过", width = 15, dicCode = "yn")
	@Dict(dicCode = "yn")
    @ApiModelProperty(value = "是否通过")
    private java.lang.Integer isPassed;
	/**审核意见*/
	@Excel(name = "审核意见", width = 15)
    @ApiModelProperty(value = "审核意见")
    private java.lang.String auditedAdvice;
	/**创建人*/
    @ApiModelProperty(value = "创建人")
    private java.lang.String createBy;
	/**创建时间*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern="yyyy-MM-dd")
    @ApiModelProperty(value = "创建时间")
    private java.util.Date createTime;
	/**更新人*/
    @ApiModelProperty(value = "更新人")
    private java.lang.String updateBy;
	/**更新时间*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern="yyyy-MM-dd")
    @ApiModelProperty(value = "更新时间")
    private java.util.Date updateTime;
	/**部门编码*/
    @ApiModelProperty(value = "部门编码")
    private java.lang.String sysOrgCode;
    /**是否有效*/
    @Excel(name = "是否有效", width = 15)
    @Dict(dicCode = "yn")
    @ApiModelProperty(value = "是否有效")
    private java.lang.Integer isVaild;
	/**是否删除*/
//	@Excel(name = "是否删除", width = 15)
    @ApiModelProperty(value = "是否删除")
    private java.lang.Integer delFlag;
	/**说明*/
	@Excel(name = "说明", width = 15)
    @ApiModelProperty(value = "说明")
    private java.lang.String remark;
	/**租户网点*/
//	@Excel(name = "租户网点", width = 15)
    @ApiModelProperty(value = "租户网点")
    private java.lang.Integer tenantId;
}
